//
//  AccountTableViewCell.m
//  MaskMachine
//
//  Created by yuanyuan on 15-3-1.
//  Copyright (c) 2015年 hanjiaxue. All rights reserved.
//

#import "AccountTableViewCell.h"
#import "InterFace.h"
#import "UIViewAdditions.h"
@implementation AccountTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        
       
        
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, SCREEN_WIDTH-60, 40)];
        self.titleLabel.text = @"CUK新闻咨询标题CUK新闻咨询标题CUK新闻咨询标题";
        [self addSubview:self.titleLabel];
        self.titleLabel.font = [UIFont systemFontOfSize:14];
        
        UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 39.5, SCREEN_WIDTH-20, 0.5)];
        imageView.backgroundColor =[ UIColor grayColor];
        [self addSubview:imageView];
        
        UIImageView *arrowImageView = [[UIImageView alloc] initWithFrame:CGRectMake(self.titleLabel.right+30, 12, 7, 14)];

        arrowImageView.image = [UIImage imageNamed:@"培训_03"];
        
        [self addSubview:arrowImageView];
        
        
        
    }
    return self;
}

-(void)dealloc{
    
    self.titleLabel = nil;
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
